package com.itheima.service.db;

import com.itheima.domain.db.Admin;
import com.itheima.vo.PageBeanVo;

public interface AdminService {

    Admin findByUsernameAndPassword(String username, String password);

    //1.用户登陆
    Admin userLogin(String username,String password);

    //3.分页查询用户列表
    PageBeanVo findUserListByPage(Integer pageNum, Integer pageSize, String name);
}
